const path = require('path');
const ip = require("ip").address();
function resolve(dir) {
  return path.join(__dirname, dir);
}
module.exports = {
  devServer: {
    open: true,
    host: ip,
    port: 9999,
    hotOnly: false,
  },
  configureWebpack: {
    resolve: {
      alias: {
        '@': resolve('./src'),
        'main': resolve('./src')
      }
    }
  }
}